package v1

import (
	"github.com/gogf/gf/v2/frame/g"
)

type HelloReq struct {
	g.Meta `path:"/hello" tags:"Hello" method:"get" summary:"You first hello api"`
	Name   string `v:"required#请输入姓名" dc:"姓名"`
	Age    uint   `v:"between:1,120#年龄在{min}到{max}之间" dc:"年龄"`
}
type HelloRes struct {
	g.Meta `mime:"text/html" example:"string"`
	Data   interface{} `json:"data"    dc:"执行结果"`
}
